home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
ask_new.arc
/
ASK.DOC
< prev
Wrap
Text File
|
1985-08-27
|
2KB
|
49 lines
ASK_NEW
I have gotten a great deal of use from the batch utility ASK.COM,
but have very long batch files with many options due to the many
configurations I use. Sometimes ASK.COM will appear as many as
8 or 9 times in my .BAT files. Everyone owning an IBM PC (AT&T
owners can smile now!) knows how slow batch files are unless the
FOR IN DO construct is used (awkward if not impossible with ASK.COM).
I got tired of waiting for each question to hit the keys - I already
know all the questions and their respective answers, but ASK.COM
clears the keyboard buffer before waiting for a keypress. The
version of ASK.COM in this ARChive has been patched to get rid of
that annoying and almost useless keyboard buffer purge. The patch
here can be imlpemented using DOS 2.xx or later version of DEBUG.
*(cr) is ENTER key!
DEBUG ASK.COM (cr)
(U)nassemble code at CS:0136
U 136 (cr) <<<<<<<< First two instr.> MOV AH,0C
should be >>>>>>> MOV AL,07
A 136 (cr) <<<<<<<< (A)ssemble code at CS:0136...
NOP (cr) <<<<<<<< These NOPs kill MOV AH,0C
NOP (cr)
MOV AH,07 (cr) <<<<<<<< Replace MOV AL,07 with this
(cr) <<<<<<<< Stop assembling now
W (cr) <<<<<<<< (W)rite the modification
Q (cr) <<<<<<<< (Q)uit DEBUG
Bradley A. Berson
B.A.B. Enterprises
August 27th, 1985